import { Boolean, Code, Cover, CreateDate, DateTime, Entity, MemberId, PrimaryUuid, UpdateDate } from "@sker/core";


@Entity({
    name: 'wx_member_face'
})
export class WxMemberFace {

    @PrimaryUuid({
        primaryKeyConstraintName: "PK_WX_MEMBER_FACE_ID"
    })
    id: string;

    @MemberId()
    member_id: string;

    @Cover({ comment: '人脸地址' })
    face: string;

    @Code({ comment: '0永久1临时' })
    type: string;

    @DateTime({ comment: '过期时间' })
    exp_time: Date;

    @Boolean({ comment: '是否禁用' })
    status: boolean;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}